package cn.explink.dop.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.explink.dop.dao.OrderStatusRecordDao;
import cn.explink.dop.entity.vo.OrderStatusRecordVO;
import cn.explink.dop.service.OrderStatusRecordService;
import cn.explink.eap.core.common.service.impl.CommonServiceImpl;

/**
 *
 * @ClassName: OrderStatusRecordServiceImpl
 * @Description: 订单状态记录Service接口实现类
 * @author 孟凡岭
 * @date 2015年4月22日 下午5:34:19
 * @since AR1.0
 */
@Service("orderStatusRecordService")
public class OrderStatusRecordServiceImpl extends CommonServiceImpl implements OrderStatusRecordService {
	@Autowired
	private OrderStatusRecordDao orderStatusRecordDao;

	/**
	 *
	 * @Title: queryByOrderId
	 * @Description: 通过订单号加载订单信息
	 * @author 孟凡岭
	 * @param @param orderId
	 * @param @return
	 * @throws
	 */
	@Override
	public List<OrderStatusRecordVO> queryByOrderId(String orderId) {
		// TODO Auto-generated method stub
		return this.orderStatusRecordDao.queryByOrderId(orderId);
	}
}
